package com.chixing.entity;

import java.time.LocalDate;

public class Employee {
    private int Empno ;
    private String Empname ;
    private String EmpJob;
    private int ManagerNo;
    private LocalDate EmpHiredate;
    private float EmpSalary;
    private float EmpComm;
    private int DeptNo;
    public Employee() {
    }
    public Employee(int Empno, String Empname, String EmpJob, int ManagerNo, LocalDate EmpHiredate, float EmpSalary,
                    float EmpComm, int DeptNo) {
        this.Empno = Empno;
        this.Empname = Empname;
        this.EmpJob = EmpJob;
        this.ManagerNo = ManagerNo;
        this.EmpHiredate = EmpHiredate;
        this.EmpSalary = EmpSalary;
        this.EmpComm = EmpComm;
        this.DeptNo = DeptNo;
    }

    public int getEmpno() {
        return Empno;
    }

    public void setEmpno(int empno) {
        Empno = empno;
    }

    public String getEmpname() {
        return Empname;
    }

    public void setEmpname(String empname) {
        Empname = empname;
    }

    public String getEmpJob() {
        return EmpJob;
    }

    public void setEmpJob(String empJob) {
        EmpJob = empJob;
    }

    public int getManagerNo() {
        return ManagerNo;
    }

    public void setManagerNo(int managerNo) {
        ManagerNo = managerNo;
    }

    public LocalDate getEmpHiredate() {
        return EmpHiredate;
    }

    public void setEmpHiredate(LocalDate empHiredate) {
        EmpHiredate = empHiredate;
    }

    public float getEmpSalary() {
        return EmpSalary;
    }

    public void setEmpSalary(float empSalary) {
        EmpSalary = empSalary;
    }

    public float getEmpComm() {
        return EmpComm;
    }

    public void setEmpComm(float empComm) {
        EmpComm = empComm;
    }

    public int getDeptNo() {
        return DeptNo;
    }

    public void setDeptNo(int deptNo) {
        DeptNo = deptNo;
    }

    @Override
    public String toString() {
        return "employee{" +
                "Empno=" + Empno +
                ", Empname='" + Empname + '\'' +
                ", EmpJob='" + EmpJob + '\'' +
                ", ManagerNo=" + ManagerNo +
                ", EmpDate=" + EmpHiredate +
                ", EmpSalary=" + EmpSalary +
                ", EmpComm=" + EmpComm +
                ", DeptNo=" + DeptNo +
                '}';
    }
}
